{include file="../header.tpl"}

<div class="container">
    <h1>Nieuwsbuis: inloggen</h1>

    <p style="color: red;">{$errorMessage}</p>
    <form action="/auth/login" method="post">
        <fieldset>
            <legend>Accountgegevens</legend>

            <div class="clearfix">
                <label for="username">Gebruikersnaam</label>

                <div class="input">
                    <input class="span4"
                           type="text"
                           name="username"
                           id="username"
                           placeholder="Username"
                           value="{set_value('username')}" />
                </div>
            </div>

            <div class="clearfix">
                <label for="password">Wachtwoord</label>

                <div class="input">
                    <input class="span4"
                           type="password"
                           name="password"
                           id="password"
                           placeholder="Wacthwoord" />
                </div>
            </div>

            <div class="clearfix">
                <div class="input">
                    <input type="hidden" name="loginForm" value=1/>
                    <button type='submit' class="btn primary medium span4">Login &raquo;</button>
                </div>
            </div>

        </fieldset>
    </form>

{include file="../footer.tpl"}